package cn.dglydrpy.study.ssm.dao.mapper;

import java.util.List;

import cn.dglydrpy.study.ssm.dao.entity.User;


public interface UserMapper {
	
	void insert(User user);
	void update(User user);
	void delete(Integer id);
	User selectById(Integer id);
	List<User> selectAll();
	User selectByUsername(String username);
	Integer selectCountByPassword(String password);
	Integer selectCountByEmail(String email);
	Integer selectCountByPhone(String phone);
	
}
